$(document).ready(function()
{
    var url = $('#redirect').val();
    window.redirect(url, 5000);
});